package com.imooc.product.utils;

import com.imooc.product.vo.ResultVO;

/**
 * Description: ResultVO工具类
 * Project: product <br />
 * ClassName: ResultVOUtil <br />
 * Copyright: Copyright (c) 2018 deshang<br />
 *
 * @author Wang Shaopeng
 * @date 2018/12/4 23:24
 * @modifier
 * @modifyContent
 */
public class ResultVOUtil {

    public static ResultVO success(Object object) {
        ResultVO resultVO = new ResultVO();
        resultVO.setData(object);
        resultVO.setCode(0);
        resultVO.setMsg("成功");
        return resultVO;
    }
}
